package com.youkeyi.ddy.cloud.common.wx.applet.message.service;

import com.youkeyi.ddy.cloud.common.response.ResponseContent;

import java.util.List;
import java.util.Map;

/**
 * WxMessageService
 *
 * @Author liuxiawang
 * @Date 5/4/23 6:15 PM
 * @Location shenzhen.china
 */
public interface WxMessageService {

    public abstract ResponseContent send(List<String> userKeys, String messageType, Map<String, Object> param);

    public abstract ResponseContent subscribeSend(List<String> userKeys, String messageType, Map<String, Object> param);

    /**
     * 待办提醒
     */
    public abstract ResponseContent subscribeSendForTodo(List<String> toUserKeys, String todoContent, String todoCreateUserName, String todoStatus, Long todoCreateTime);

    /**
     * 生日提醒
     */
    public abstract ResponseContent subscribeSendForBirthday(List<String> toUserKeys, String remindContent, String birthdayEmployeeName, Long birthday);

    /**
     * 合同提醒
     */
    public abstract ResponseContent subscribeSendForContract(List<String> toUserKeys, String remindContent, String contractName, String contractCode, Long startTime, Long endTime);

}
